package com.czwj;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class StartUpRunner implements CommandLineRunner{
	
	@Autowired
	Socket socket;

	@Override
	public void run(String... args) throws Exception {
		socket.start();
	}

}
